/**
 * sysUserModel
 *
 * 项目名称:分秒金融
 *
 * @author lunli
 *
 * 功能描述:系统用户管理
 * 
 * 历史版本:2017-03-28 v1.0.0 lunli  创建:
 * 
 */
package com.fmjr.sys.sysUser.bean;

import com.fmjr.common.base.entity.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

@ApiModel(value="sysUser", description="系统用户")
public class SysUserQueryBean extends BaseEntity implements java.io.Serializable {

	private Long id ; //
	private String userName ; //用户名
	private String name ; //真实姓名／昵称
	private String password ; //密码
	private String salt ; //加密密码的盐
	private String state ; //用户状态,0:创建未认证（比如没有激活，没有输入验证码等等）--等待验证的用户 , 1:正常状态,2：用户被锁定.
 	@DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss") 
	private Date createDate ; //创建时间
	private Long createUser ; //创建人
	private Long updateUser ; //更新用户id
 	@DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss") 
	private Date updateDate ; //最后一次更新时间

	

	public Long getId() {
		return this.id;
	}
	
	public void setId(Long id) {
		this.id = id;
	}

	@ApiModelProperty(value = "用户名")
	public String getUserName() {
		return userName;
	}
	
	public void setUserName(String userName) {
		this.userName = userName;
	}

	@ApiModelProperty(value = "真实姓名／昵称")
	public String getName() {
		return name;
	}
	
	public void setName(String name) {
		this.name = name;
	}

	@ApiModelProperty(value = "密码")
	public String getPassword() {
		return password;
	}
	
	public void setPassword(String password) {
		this.password = password;
	}

	@ApiModelProperty(value = "加密密码的盐")
	public String getSalt() {
		return salt;
	}
	
	public void setSalt(String salt) {
		this.salt = salt;
	}

	@ApiModelProperty(value = "用户状态,0:创建未认证（比如没有激活，没有输入验证码等等）--等待验证的用户 , 1:正常状态,2：用户被锁定.")
	public String getState() {
		return state;
	}
	
	public void setState(String state) {
		this.state = state;
	}

	@ApiModelProperty(value = "创建时间")
	public Date getCreateDate() {
		return createDate;
	}
	
	public void setCreateDate(Date createDate) {
		this.createDate = createDate;
	}

	@ApiModelProperty(value = "创建人")
	public Long getCreateUser() {
		return createUser;
	}
	
	public void setCreateUser(Long createUser) {
		this.createUser = createUser;
	}

	@ApiModelProperty(value = "更新用户id")
	public Long getUpdateUser() {
		return updateUser;
	}
	
	public void setUpdateUser(Long updateUser) {
		this.updateUser = updateUser;
	}

	@ApiModelProperty(value = "最后一次更新时间")
	public Date getUpdateDate() {
		return updateDate;
	}
	
	public void setUpdateDate(Date updateDate) {
		this.updateDate = updateDate;
	}
}